<!DOCTYPE html>

<html>
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link rel="stylesheet" href="/styles/storage.css">
    <script type="text/javascript" src="/scripts/storage.js"></script>
</head>
<body>

    <h3>Web Storage</h3>
    <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Storage_API">Web Storage API</a>


    <div class="wrapper session">
        <p>sessionStorage</p>
        <button class="add">添加</button>
        <button class="query">查看</button>
        <button class="update">修改</button>
        <button class="delete">删除</button>
    </div>
    
    <div class="wrapper local">
        <p>localStorage</p>
        <button class="add">添加</button>
        <button class="query">查看</button>
        <button class="update">修改</button>
        <button class="delete">删除</button>
    </div>
    
</body>
</html>